package org.example.myerp.mapper.productDesign.productMaterialCompositionDesign;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.example.myerp.mapper.dto.MaterialCompositionDesignReview;
import org.example.myerp.pojo.*;
import org.springframework.stereotype.Component;


/**
 * ��Ʒ������ɡ����ݷ��ʲ㡿
 * @author DELL
 *
 */
@Mapper
@Component
public interface ProWuliaoTabMapper {
	/**
	 * ��Ӳ�Ʒ������ɻ�����Ϣ
	 * @param materialComposition
	 * @return
	 */
	public int insertMaterialCompositionMessage(ProWuliaoTab materialComposition);

	/**
	 * ��ѯ���������Ƶ�δ��˵�ȫ����Ϣ
	 * @param params
	 * @return
	 */
	public List<MaterialCompositionDesignReview> selectMaterialCompositionDesignReviews(Map<String, Object> params);

	/**
	 * ��ѯ���������Ƶ�δ��˵�ȫ����Ϣ��������
	 * @return
	 */
	public Integer selectMaterialCompositionDesignCount();

	/**
	 * �޸Ĳ�Ʒ������ɵ�����ֶΡ�����ˡ�
	 * @param id
	 * @return
	 */
	public Integer updateProWuliaoTabRealReviewSign(Integer id);
}
